#!/bin/sh
case "$1" in
  start)
    supernice babysit 60 python_benchmark | logos python-benchmark &
    ;;
  stop)
    pkillwait -f python[_\-]benchmark
    ;;
  restart)
    $0 stop; $0 start
    ;;
  *)
    echo "Usage: $0 {start|stop|restart}"
    exit 1
esac
